Rule-based Model Extraction from Source Code
نویسندگان
چکیده
In the context of an approach for reengineering legacy software systems at the architectural level, we present in this paper a reverse engineering methodology that uses a model defined as a type graph to represent source-code subject to a code categorization process. Two alternative methods for referencing the source code are discussed: native vs. graphical. To represent the code, the native representation uses the abstract syntax tree while the graphical uses a programming language metamodel. Two options regarding the way that the graph can relate to the source code reference model are also considered: association model vs. direct link. The extraction of the program representation, complying to the type graph, is based on rules that categorize source code according to its purpose. The techniques to address this process, such as the code categorization rules, are shown together with examples.
منابع مشابه
Application of the rule extraction method to evaluate seismicity of Iran
Assessing seismic hazards involves specifying the likelihood, magnitude and location of earthquakes in a region. Predicting the seismic hazards is the first step in reducing the impact of the damage caused by an earthquake. In this study, to fully utilize all the known parameters which may possibly affect the occurrence of earthquakes (mb ≥ 4.5); a data-driven rule-extraction method called the...
متن کاملInformation Extraction from HTML Documents Based on Logical Document Structure
The World Wide Web presents the largest Internet source of information from a broad range of areas. The web documents are mostly written in the Hypertext Markup Language (HTML) that doesn’t contain any means for semantic description of the content and thus the contained information cannot be processed directly. Current approaches for the information extraction from HTML are mostly based on wrap...
متن کاملModeling and Optimization of Anethole Ultrasound-Assisted Extraction from Fennel Seeds using Artificial Neural Network
Extraction of essential oils from medicinal plants has received researcher’s attention as it has a wide variety of applications in different industries. In this study, ultrasonic method has been used to facilitate the extraction of active ingredient anethole from fennel seeds. Effect of different parameters like extraction time (20, 40, and 60 min), power (80, 240, and 400 Watts) and solid part...
متن کاملWYSIWYE: An Algebra for Expressing Spatial and Textual Rules for Information Extraction
The visual layout of a webpage can provide valuable clues for certain types of Information Extraction (IE) tasks. In traditional rule based IE frameworks, these layout cues are mapped to rules that operate on the HTML source of the webpages. In contrast, we have developed a framework in which the rules can be specified directly at the layout level. This has many advantages, since the higher lev...
متن کاملTool for Extraction of Functional Requirements from Legacy Code
A business rule specifies or restraints one aspect of business that is intended to verify business structure or determine the behavior of our business. Business rules often focus on access control issues. There author has proposed a re-engineering method that is implemented to extract a business rule from legacy source code. With time, generally the valuable documents of system are lost and in ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2006